package com.example.job_backend.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    //    @TableId(value = "id",type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;
    @ExcelProperty("用户名")
    private String username;
    @ExcelProperty("密码")
    private String password;
    @ExcelProperty("角色")
    private String role;
    @ExcelProperty("真实姓名")
    private String realName;
    @ExcelProperty("班级")
    private String classes;
    @ExcelProperty("电话")
    private String phone;
    @ExcelProperty("邮箱")
    private String email;
    @ExcelProperty("头像")
    private String avatar;

}
